<#macro sidbar urlName>
    <li <#if urlName == 'index.html'>class="active"</#if>>
    	<a href="/admin/index.html">
    		<i class="glyphicon glyphicon-th-large"></i>
    		 仪表盘
    	</a>
    </li>
    <li <#if urlName == 'test-paper.html'>class="active"</#if>>
    	<a href="/admin/testPaper.html">
    		<i class="glyphicon glyphicon-list-alt"></i>
    		 试卷
    	</a>
    </li>
    <li <#if urlName == 'question-bank.html'>class="active"</#if>>
    	<a href="/admin/question-bank.html">
    		<i class="glyphicon glyphicon-folder-close"></i>
    		题库
    	</a>
    </li>
    <li <#if urlName == 'score.html'>class="active"</#if>>
    	<a href="/admin/score.html">
    		<i class="glyphicon glyphicon-filter"></i>
    		成绩
    	</a>
    </li>
    <li <#if urlName == 'user.html'>class="active"</#if>>
    	<a href="/admin/user.html">
    		<i class="glyphicon glyphicon-user"></i>
    		用户
    	</a>
    </li>
</#macro>

<#macro header>
	<!--Header Start-->
	<div class="navbar navbar-inverse navbar-fixed-top box">
		<div class="container-fluid">
			<div class="navbar-header">
				<a href="" ><img src="/static/img/white logo.png" height="45px"  /></a>
				<!--
		        <button type="button" class="navbar-toggle" data-toggle="collapse"
		                data-target="#example-navbar-collapse">
		            <span class="sr-only">切换导航</span>
		            <span class="icon-bar"></span>
		            <span class="icon-bar"></span>
		            <span class="icon-bar"></span>
		        </button>
		        -->
			</div>
			<ul class="nav navbar-nav navbar-right">
				<li><a href="/index.html"><span class="glyphicon glyphicon-log-in"></span>
						退出</a></li>
			</ul>
		</div>
	</div>
	<!--Header End-->
</#macro>